package cn.liyiming.bbs.modular.system.service.impl;
import cn.liyiming.bbs.modular.system.dao.UserMapper;
import cn.liyiming.bbs.modular.system.model.User;
import cn.liyiming.bbs.modular.system.service.IUserService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author liyiming
 * @since 2020-02-22
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Override
    public User getUserByAccount(String account) {
        User user = this.baseMapper.selectByAccount(account);
        return user;
    }
}
